Optimal. Leaf size=40 \[ \frac{b \sqrt{1-c x}}{x \sqrt{\frac{1}{c x+1}}}-\frac{a+b \text{sech}^{-1}(c x)}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0201413, antiderivative size = 40, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {6283, 95} \[ \frac{b \sqrt{1-c x}}{x \sqrt{\frac{1}{c x+1}}}-\frac{a+b \text{sech}^{-1}(c x)}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6283
Rule 95
Rubi steps
\begin{align*} \int \frac{a+b \text{sech}^{-1}(c x)}{x^2} \, dx &=-\frac{a+b \text{sech}^{-1}(c x)}{x}-\left (b \sqrt{\frac{1}{1+c x}} \sqrt{1+c x}\right ) \int \frac{1}{x^2 \sqrt{1-c x} \sqrt{1+c x}} \, dx\\ &=\frac{b \sqrt{1-c x}}{x \sqrt{\frac{1}{1+c x}}}-\frac{a+b \text{sech}^{-1}(c x)}{x}\\ \end{align*}
Mathematica [A] time = 0.0540285, size = 42, normalized size = 1.05 \[ -\frac{a}{x}+b \left (c+\frac{1}{x}\right ) \sqrt{\frac{1-c x}{c x+1}}-\frac{b \text{sech}^{-1}(c x)}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.178, size = 58, normalized size = 1.5 \begin{align*} c \left ( -{\frac{a}{cx}}+b \left ( -{\frac{{\rm arcsech} \left (cx\right )}{cx}}+\sqrt{-{\frac{cx-1}{cx}}}\sqrt{{\frac{cx+1}{cx}}} \right ) \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.981928, size = 43, normalized size = 1.08 \begin{align*}{\left (c \sqrt{\frac{1}{c^{2} x^{2}} - 1} - \frac{\operatorname{arsech}\left (c x\right )}{x}\right )} b - \frac{a}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.96489, size = 138, normalized size = 3.45 \begin{align*} \frac{b c x \sqrt{-\frac{c^{2} x^{2} - 1}{c^{2} x^{2}}} - b \log \left (\frac{c x \sqrt{-\frac{c^{2} x^{2} - 1}{c^{2} x^{2}}} + 1}{c x}\right ) - a}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{a + b \operatorname{asech}{\left (c x \right )}}{x^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \operatorname{arsech}\left (c x\right ) + a}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]